package com.tarzan.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tarzan.api.model.request.role.FindUnallocatedUserReq;
import com.tarzan.api.model.response.user.SysUserInfoResp;
import com.tarzan.system.entity.SysRole;
import com.tarzan.system.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Package com.tarzan.system.dao
 * @Title SysRoleMapper
 * @Description TODO
 * @Author liujinshan
 * @CreateTime 2021/6/29 15:52
 */
@Mapper
public interface SysRoleMapper  extends BaseMapper<SysRole> {
    IPage<SysUserInfoResp> findUnallocatedUserByRoleID(Page<SysUserInfoResp> page, @Param("req") FindUnallocatedUserReq req);
}
